package com.librelato.negocio;

import java.util.List;
import java.util.Map;

import com.librelato.bean.ProgramacaoProducaoBean;
import com.librelato.negocio.interfaces.IProgramacaoProducaoServico;
import com.librelato.persistencia.ProgramacaoProducaoDao;
import com.librelato.persistencia.interfaces.IDaoGenerico;
import com.librelato.persistencia.interfaces.IProgramacaoProducaoDao;

public class ProgramacaoProdutoServico<P extends ProgramacaoProducaoBean> extends
		ServicoGenerico<P> implements
		IProgramacaoProducaoServico<P> {
	
	private final IProgramacaoProducaoDao<P> dao;
	
	public ProgramacaoProdutoServico() {
		this.dao = new ProgramacaoProducaoDao<P>();
	}

	@Override
	public void excluir(P p) throws Exception {
		// TODO Auto-generated method stub
		
	}

	@Override
	public P salvar(P p) throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void editar(P p) throws Exception {
		// TODO Auto-generated method stub
		
	}

	@Override
	public IDaoGenerico<P> getDao() {
		return this.dao;
	}

	@Override
	public void preSalvar(P p) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void posSalvar(P p) {
		// TODO Auto-generated method stub
		
	}


	@Override
	public List<ProgramacaoProducaoBean> buscaProgramacaoProducao(
			Map<String, String> param) throws Exception {
		return this.dao.buscaProgramacaoProducao(param);
	}

}
